package o;

import androidx.annotation.Nullable;
import com.google.android.exoplayer2.mediacodec.MediaCodecUtil;
import com.google.android.exoplayer2.mediacodec.MediaCodecUtil.DecoderQueryException;
import java.util.Collections;
import java.util.List;

public interface ahb {
    public static final ahb ˎ = new ahb() {
        public List<ahe> ˊ(String str, boolean z) throws DecoderQueryException {
            List ˏ = MediaCodecUtil.ˏ(str, z);
            if (ˏ.isEmpty()) {
                return Collections.emptyList();
            }
            return Collections.singletonList(ˏ.get(0));
        }

        @Nullable
        public ahe ˋ() throws DecoderQueryException {
            return MediaCodecUtil.ˎ();
        }
    };
    public static final ahb ॱ = new ahb() {
        public List<ahe> ˊ(String str, boolean z) throws DecoderQueryException {
            return MediaCodecUtil.ˏ(str, z);
        }

        @Nullable
        public ahe ˋ() throws DecoderQueryException {
            return MediaCodecUtil.ˎ();
        }
    };

    List<ahe> ˊ(String str, boolean z) throws DecoderQueryException;

    @Nullable
    ahe ˋ() throws DecoderQueryException;
}
